@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/modular/coin/option/option.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">期权每期管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-xs12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="symbol" class="layui-input" type="text" placeholder="交易对"/>
                            </div>
                            <div class="layui-inline">
                                <input id="optionNo" class="layui-input" type="text" placeholder="合约期数"/>
                            </div>
                            <div class="layui-inline">
                                <input id="totalBuyCount" class="layui-input" type="text" placeholder="最低看涨人数"/>
                            </div>
                            <div class="layui-inline">
                                <input id="totalSellCount" class="layui-input" type="text" placeholder="最低看跌人数"/>
                            </div>
                            <div class="layui-inline">
                                <input id="totalPl" class="layui-input" type="text" placeholder="最低合约收益"/>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                @if(shiro.hasPermission("/cleanOption")){
                                <button id="btnClean2" class="layui-btn icon-btn layui-btn-danger"><i class="layui-icon">&#xe67d;</i>清理数据</button>
                                @}
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="spotTable" lay-filter="spotTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="statusTpl">
    <input type="checkbox" lay-filter="status" value="{{d.spotId}}" lay-skin="switch" lay-text="启用|禁用" {{d.status=='Y'?'checked':''}} />
</script>
<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>

</script>

@}